<ion-view view-title="{{title}}" class="activitySecond nineActivity">
	<!--一定要手动加导航栏-->
	<ion-nav-bar>
		<ion-nav-back-button>
		</ion-nav-back-button>
	</ion-nav-bar>
	<ion-nav-buttons side="right">
		<button class="button button-clear saveText" on-tap="openModal_intro()">活动简介</button>
	</ion-nav-buttons>
	
	<!--视频、直播、图片，8和9要用-->
	<div ng-if="datas.act_promotion_type=='live'" id="playerContainer">
		<!--播放器-->
		<div id="playerWapper"></div>
		<!--观看人数-->
		<div class="playerR">在线{{playerNum}}人</div>
		<div class="playerWapperNot" ng-if="playering==0">亲，直播还没开始呢！</div>
	</div>
	
	<!--视频-->
	<iframe id="videoContainer" ng-if="datas.act_promotion_type=='media'" src="{{myURL}}" width="100%" style="height: 7.5rem;margin-top: 44px;" frameborder="0" allowfullscreen=""></iframe>
	
	<!--描述：滑动块 ng-style="playerContainer"-->
	<ion-content class="bg" ng-style="playerContainer">
		<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
		
		<img src="{{datas.image_cover}}" width="100%" ng-if="datas.act_promotion_type=='image'"/>
		
		<!--群。必须用div包着，否则会导致ion-infinite-scroll失效-->
		<div>
			<ion-scroll direction="x" scrollbar-x="false">
				<div class="groupsDiv" ng-if="datas.groups">
					<div class="group" ng-repeat="group in datas.groups" ng-if="datas.groups&&activitType!=8&&activitType!=9" on-tap="go_exchangechat(group.group_id,group.is_group_member)">
						{{group.group_name}}
					</div>
					<div class="group" ng-if="activitType==8||activitType==9" on-tap="go_exchangechat()">
						进群聊聊
					</div>
				</div>
			</ion-scroll>
		</div>
		
		<!--没有数据firstHide-->
		<div class="noData" ng-if="datas.goods==null||datas.goods.length==0">
			<img src="./img/guilin/other/icon_noComment@2x.png" />
			<div class="tip">没有活动商品哦！</div>
		</div>
		
		<div class="goodsList">
			<!--<div ng-repeat="i in [1,2,3,4,5,6]">-->
			<div class="goodsDiv" ng-repeat="goods in datas.goods" on-tap="go_goods(goods.id,goods.product_id)">
				<div class="imgDiv">
					<img src="{{goods.image[0].image||noImg}}"/>
				</div>
				<div class="goodsNameDiv">
					<div class="name ellipsis-2">{{goods.name}}</div>
					<div class="goodsprice">
						{{goods.price|currency:"¥"}}
						<span class="salescount" ng-if="goods.saleCount">已销{{goods.saleCount}}笔</span>
					</div>
				</div>
			<!--</div>-->
			</div>
		</div>
		<!--描述：当用户到达页脚或页脚附近时。这里没有page.cPage-->
		<ion-infinite-scroll ng-if="!isLoad&&datas.page.tPage>nPage" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
	</ion-content>
</ion-view>